package com.mall.malladminbackend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.malladminbackend.entity.SpuImg;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 2022/8/16
 * 一杯茶，一根烟，一个bug解一天
 */
@Mapper
public interface SpuImgMapper extends BaseMapper<SpuImg> {
//     主键回填添加
      int allImgs(@Param("spuId") long spuId,@Param("imgs") String imgs[]);

//    删除
       int deleteImg(long id);


}
